package com.demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;
import java.util.Vector;

/**
 * @author oyz
 */
@Data
@AllArgsConstructor
@Builder
public class CommonResponseVo<T> {
    private String flag;
    private String prompt;

    private final List<Map> dataList;



    public CommonResponseVo() {
        this.flag = "0";
        this.prompt = "业务执行成功";
        dataList = new Vector<>();
    }
}
